| Get | getUserByName |
| Pet Store Web Service > Users Resource Group : getUserByName (Get) |
| Name | Description | Data Type |
|---|---|---|
| username | The name that needs to be fetched. Use user1 for testing. | string |
The response body is of type User.
![]() |
User
Represents an individual user.
|
| Fault | Description |
|---|---|
| 400 | This fault returns a response body of type (undefined). Invalid username supplied |
| 404 | This fault returns a response body of type (undefined). User not found |